/******************************************************************************
 * The contents of this file are subject to the   JDI License  Version 1.0
 * ("License"); You may not use this file except in compliance with the License
 * Software distributed under the License is distributed on an  "AS IS"  basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 * The Initial Developer of the Original Code is 陈慧然. Portions created by 
 * 陈慧然 are Copyright 陈慧然.
 * All Rights Reserved.
 *
 *              Contact john_holen@163.com for licensing alternatives.
 *
 *****************************************************************************/


package org.peony.baseinfo;

/**
 *  
 *
 *  @author     陈慧然
 *  @version    Id: SysinfoException.java, v 0.000 2007-12-30 17:25:31 陈慧然 Exp
 */
public class SysinfoException extends RuntimeException {
	
	/**
	 * 由于“用户采用的系统架构”产生的异常。
	 */
	public static int ct = 1;
	//causeCode，记录异常产生的原因。
	private int causeCode;

	public int getCauseCode(){
		return causeCode;
	}
	public SysinfoException(int causeCode){
		super();
		this.causeCode = causeCode;
	}
	public SysinfoException() {
		super();
	}

	public SysinfoException(String message, Throwable cause) {
		super(message, cause);
	}

	public SysinfoException(String message) {
		super(message);
	}

	public SysinfoException(Throwable cause) {
		super(cause);
	}
	
}
